package com.darren.euc.util;

public class PropertyHelper {

		/************************************************SYSTEM CONFIG*************************************************/
		public static final String SYSTEM_CONFIG="SYSTEM_CONFIG";
		
		public static final String PRINT_CONFIG="PRINT_CONFIG";
		
		public static final String getExpiredTime(){
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "expired_time");
		}
		
		public static final String getEncryptKey(){
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "encrypt_key");
		}
		
		public static final String getAccessTokenExpire(){
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "ACCESSTOKEN_EXPIRESTIME");
		}
		
		public static final String getRefreshTokenExpire(){
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "REFRESHTOKEN_EXPIRESTIME");
		}
		
		public static final String getAccessTokenSecureSecret(){
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "ACCESS_SECURE_SECRET");
		}
		
		public static final String getRefreshTokenSecureSecret(){
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "REFRESH_SECURE_SECRET");
		}
		
		public static final Integer getPageSize(){
			return Integer.parseInt(CacheUtil.getSysParamVal(SYSTEM_CONFIG, "pageSize"));
		}
		
		public static final Integer getRoomSize(){
			return Integer.parseInt(CacheUtil.getSysParamVal(SYSTEM_CONFIG, "roomSize"));
		}
		
		public static final Integer getDeposit(){
			return Integer.parseInt(CacheUtil.getSysParamVal(SYSTEM_CONFIG, "Deposit"));
		}
		
		public static final Integer getMeetingroomDays(){
			return Integer.parseInt(CacheUtil.getSysParamVal(SYSTEM_CONFIG, "MeetingroomDays"));
		}
		
		public static final String getLightPhone(){//操作灯控设备的手机号
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "LightPhone");
		}
		
		public static final String getLightPassword(){//操作灯控设备手机号对应的密码
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "LightPassword");
		}
		
		public static final String getScreenTokenUserId(){//请求电子屏Token所使用的URL
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "ScreenTokenUserId");
		}
		
		public static final String getScreenTokenURL(){//请求电子屏Token所使用的user_id
			return CacheUtil.getSysParamVal(SYSTEM_CONFIG, "ScreenTokenURL");
		}
		
		
		public static final String getPrintQueryURL(){//获取打印记录查询URL
			return CacheUtil.getSysParamVal(PRINT_CONFIG, "printQueryURL");
		}
		
		
	}

